{% if form.errors %}
<div class="form-row">
        <section class="error-summary">
    <!--<p>There are errors</p>-->
                <ul>
                        {% for e in form.non_field_errors %}
                                <li>{{ e }}</li>
                        {% endfor %}
                        {% for field in form %}
                                {% for e in field.errors %}
                        <li><a href="#id_{{ field.name }}"> {{ e }}</a></li>
                                {% endfor %}
                        {% endfor %}
                </ul>
        </section>
</div>
{% endif %}